package com.ben.ffy;

import android.app.Activity;
import android.os.Bundle;


import android.app.Activity;
import android.content.Context;
import android.graphics.Paint;
import android.view.SurfaceHolder;
import android.view.SurfaceView;

public class MainView extends SurfaceView implements SurfaceHolder.Callback {
	MyActivity activity;
	Paint paint;
	KeyThread keythread;
	MainMenuButton startbutton;
	
	public MainView(MyActivity activity) {
		super(activity);
		this.activity = activity;
		getHolder().addCallback(this);// 注册回调接口
	}

	@Override
	public void surfaceChanged(SurfaceHolder holder, int format, int width,
			int height) {
		// TODO Auto-generated method stub

	}

	@Override
	public void surfaceCreated(SurfaceHolder holder) {
		// TODO Auto-generated method stub

	}

	@Override
	public void surfaceDestroyed(SurfaceHolder holder) {
		// TODO Auto-generated method stub

	}
	
	private class KeyThread extends Thread {

	}

}
